package org.hy.corn_task.service.source.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.hy.corn_task.mapper.source.DeptMapper;
import org.hy.corn_task.pojo.entity.source.Dept;
import org.hy.corn_task.service.source.DeptService;
import org.springframework.stereotype.Service;

/**
 * @Description: DeptServiceImpl 实现类
 * @Author: WangBlue
 * @Create: 2024-08-23
 **/

@Service
@DS("source")
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {

    @Override
    public Dept getDeptById(Integer deptId) {
        return baseMapper.selectById(deptId);
    }


}
